package com.chrray.position.domain.dto.search;

import com.chrray.position.enums.app.FdWorkJobStateEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author liujianxin
 * @date 2024/08/29 22:55
 */
@Data
public class BossJobRelWorkerSearch extends BaseParam {

    @ApiModelProperty(value = "竞聘状态: 1-待录用/2-已录用/3-已完工")
    private FdWorkJobStateEnum relState;

    @ApiModelProperty(value = "职位id")
    @NotNull(message = "职位id不能为空")
    private Long jobId;

    @ApiModelProperty(value = "你当前的纬度")
    @NotNull(message = "当前的纬度不能为空")
    private Double lat;

    @ApiModelProperty(value = "你当前的经度")
    @NotNull(message = "当前的经度不能为空")
    private Double lon;
}
